﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using Stone.DataContracts;
using System.Data;

namespace Stone.ServiceInterfaces.ServiceInterfaces
{
    [ServiceContract()]
    public interface ILsapService
    {
        [OperationContract]
         bool Exists(int lsap_id);

        [OperationContract]
         void Add(LsapEntity model);

        [OperationContract]
         void Update(LsapEntity model);

        [OperationContract]
         void UpdateZT(LsapEntity model);

        [OperationContract]
         void Delete(int lsap_id);

        [OperationContract]
         LsapEntity GetModel(int lsap_id); 

        [OperationContract]
         DataTable GetList(int Top, string strWhere, string filedOrder);

    }
}
